import Layout from '@/layout';
// // 由于懒加载页面太多的话会造成webpack热更新太慢，所以开发环境不使用懒加载，只有生产环境使用懒加载
const _import = require('@/utils/util.import');
const meta = { auth: true, menuId: '/agentMatters' };
export default {
  path: '/agentMatters',
  meta: {
    ...meta,
    icon: 'setting',
    title: '我的客户',
  },
  component: Layout,
  children: ((basePath) => [
    {
      path: `${basePath}/myApplicationslist`,
      component: _import('agentMatters/myApplicationslist'),
      name:'myApplicationslist',
      meta: {
        ...meta,
        title: '我的申请',
      },
    },

    {
      path: `${basePath}/myapplicationsDetails`,
      component: _import('agentMatters/myapplicationsDetails'),
      name:'myapplicationsDetails',
      meta: {
        ...meta,
        title: '我的申请详情',
      },
    },

    {
        path: `${basePath}/examineList`,
        component: _import('agentMatters/examineList'),
        name:'examineList',
        meta: {
          ...meta,
          title: '审批类待办',
        },
      },

      {
        path: `${basePath}/examineDetails`,
        component: _import('agentMatters/examineDetails'),
        name:'examineDetails',
        meta: {
          ...meta,
          title: '审批类详情',
        },
      },
    
      
      // {
      //   path: `${basePath}/operationLog`,
      //   component: _import('agentMatters/operationLog'),
      //   name:'operationLog',
      //   meta: {
      //     ...meta,
      //     title: '我的操作日志',
      //   },
      // },
      
      // {
      //   path: `${basePath}/messageReminder`,
      //   component: _import('agentMatters/messageReminder'),
      //   name:'messageReminder',
      //   meta: {
      //     ...meta,
      //     title: '消息提醒',
      //   },
      // },

    //用户管理-新增 end

  ])('/agentMatters'),
};
